/**
 *
 */
package org.platform.core.event;

import org.springframework.context.ApplicationEvent;

/**
 * @author mabb
 *
 */
public class BusEvent extends ApplicationEvent
{

	public static final int SYSTEM_WAITING = 0;
	public static final int TASK_EXECUTE = 1;
	public static final int MACRO_EXECUTE = 2;
	public static final int AUTO_TEST = 3;
	public static final int DEV_UP = 4;

	/**
	 * UID
	 */
	private static final long serialVersionUID = 1L;
	
	 

	/**
	 * @param source
	 */
	public BusEvent(Object source)
	{
		super(source);
	}
	/**
	 * publish
	 */
	public void publish() {
		PublishFactory.getInstance().publishEvent(this);
	}
}
